﻿using System;
using System.Collections.Generic;
using System.Reflection.Metadata.Ecma335;
using System.Text;

namespace Core.DataAccess.Model.Project.Entrepot
{
    /// <summary>
    /// 产品属性
    /// </summary>
    public class ProductAttrbute
    {
        public int Id { get; set; }

        /// <summary>
        /// 产品ID
        /// </summary>
        public int ProductId { get; set; }

        /// <summary>
        /// 产品数量
        /// </summary>
        public int ProductCount { get; set; }

        /// <summary>
        /// 浏览量
        /// </summary>
        public int ReadCount { get; set; }

        /// <summary>
        /// 销量
        /// </summary>
        public int SalesVolume { get; set; }

        /// <summary>
        /// 活动类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }


        /// <summary>
        /// 折扣价
        /// </summary>
        //public decimal DiscountPrice { get; set; }

        /// <summary>
        /// 折扣
        /// </summary>
        //public decimal Discount { get; set; }

        /// <summary>
        /// 是否与其他折扣共享
        /// </summary>
        //public bool IsDiscountShared { get; set; }

        /// <summary>
        /// 扩展信息
        /// 例：描述文字
        /// 最小起购量
        /// 最大订购量
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 项目Token
        /// </summary>
        public string ProjectToken { get; set; }


        public DateTime RegTime { get; set; }




    }
}
